export default [
    {
        //医生一级首页
        path: '/dochome',
        name: 'DocHome',
        component: () => import(/* webpackChunkName: "dochome" */ '../views/pc/home/DocHome.vue'),
        children: [
            {
                path:'/dochome',
                redirect:'/dochome/dochomes'
            },
            //医生二级首页
            {
                path: '/dochome/dochomes',
                name: 'DocHomes',
                component: () => import(/* webpackChunkName: "dochomes" */ '../views/pc/home/homes/DocHomes.vue'),
            },
            //医生二级问诊
            {
                path: '/dochome/inquiry',
                name: 'Inquiry',
                component: () => import(/* webpackChunkName: "inquiry" */ '../views/pc/home/inquiry/Inquiry.vue'),
            },
            //医生二级项目
            {
                path: '/dochome/project',
                name: 'Project',
                component: () => import(/* webpackChunkName: "project" */ '../views/pc/home/project/Project.vue'),
                children: [
                    {
                        path:'/dochome/project',
                        redirect:'/dochome/project/projected'
                    },
                    //医生三级项目
                    {
                        path: '/dochome/project/projected',
                        name: 'Projected',
                        component: () => import(/* webpackChunkName: "projected" */ '../views/pc/home/project/projected/Projected.vue'),
                    },
                    //医生三级菜单
                    {
                        path: '/dochome/project/setmeal',
                        name: 'Setmeal',
                        component: () => import(/* webpackChunkName: "setmeal" */ '../views/pc/home/project/setmeal/Setmeal.vue'),
                    },
                    //医生三级挂号费
                    {
                        path: '/dochome/project/registration',
                        name: 'Registration',
                        component: () => import(/* webpackChunkName: "registration" */ '../views/pc/home/project/registration/Registration.vue'),
                    }
                ]
            },
            //医生二级体现
            {
                path: '/dochome/cashout',
                name: 'Cashout',
                component: () => import(/* webpackChunkName: "cashout" */ '../views/pc/home/cashout/Cashout.vue'),
            },
        ]
    },
    //医生登录
    {
        path: '/doclogin',
        name: 'DocLogin',
        component: () => import(/* webpackChunkName: "doclogin" */ '../views/pc/login/DocLogin.vue'),
    },
    //医生注册
    {
        path: '/docregister',
        name: 'DocRegister',
        component: () => import(/* webpackChunkName: "docregister" */ '../views/pc/register/DocRegister.vue'),
    }
]